package com.clusterswisdom.horn.api.tmall.action.user;

import com.alibaba.fastjson.JSONObject;
import com.clusterswisdom.horn.api.ioc.HornAction;
import com.clusterswisdom.horn.api.ioc.HornResponse;
import com.clusterswisdom.horn.api.ioc.api.ApiConfig;
import com.clusterswisdom.horn.api.tmall.TmallInstance;
import com.clusterswisdom.horn.api.tmall.action.AbstractTmallAction;

public class GetUserAction extends AbstractTmallAction implements HornAction{
	@Override
	public HornResponse execute(ApiConfig config, JSONObject param)
			throws Exception {
//		//UserBuyerGetResponse response=(UserBuyerGetResponse)TmallInstance.getInstance().executeRequest(param, "user","userGet");
//		if(response.isSuccess()){
//			return new HornResponse(true, response.getUser());
//			
//		}else{
//			return getUnsuccessResponse(response);
//			
//		}
		return null;
	}
}
